package cn.janyd.jmall.management.controller.passport.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

/**
 * @author Janyd
 * @since 2020-08-15 17:28
 */
@ApiModel("访问令牌信息")
@Data
@Accessors(chain = true)
public class PassportTokenRespVo {

    @ApiModelProperty(value = "访问令牌", required = true, example = "")
    private String accessToken;

    @ApiModelProperty(value = "刷新令牌", required = true, example = "")
    private String refreshToken;

    @ApiModelProperty(value = "过期时间", required = true)
    private LocalDateTime expiresTime;
}
